package com.cn.springcloudvaccine.mapper.vaccinestation;

import java.util.List;

import com.cn.springcloudvaccine.model.vaccinestion.YmStation;


public interface YmStationMapper {
    int deleteByPrimaryKey(Long stationId);

    int insert(YmStation record);

    int insertSelective(YmStation record);
    
    /**
	 * 疫苗站读取
	 * 
	 * @param YmStation ymStation
	 *           
	 * @return List<YmStation>
	 */
    List<YmStation> selectByPrimaryKey(YmStation ymStation/*,Page<Object> page*/);

    int updateByPrimaryKeySelective(YmStation record);

    int updateByPrimaryKey(YmStation record);
    
    /**
	 * 查询某一个疫苗站疫苗(包括时间段和对应的疫苗)
	 * 
	 * @param YmStation ymStation
	 *           
	 * @return List<YmStation>
	 */
    List<YmStation> queryVaccineStationDetailMapper(YmStation ymStation);
}